cleanup of custom page