how to set page limit