Fix when front end requests page 0