optimize some scenes.