delete render mode remove else