refactoring scene delete