clean up for custom page