set page to one if not sent with post