clean up pages and delete eronious files