fixed error in Page model