restrict page size