Cleanup of duplicate pages