cleaned up visual editor