cleaning up references in editor
cleaning up references in editor