changed order of removal of scene