Error pagination fixed