clean up pages and stuff