removing pages reference