fixes issue with required page field