cleanup edit and show screen