fixed : bug with pages