removed unnecessary lines from renderengine