remove pages elements