clean up clear scene code