cleaned up memory between screens