cleaning up pages