editor clean up