restore change controller type