Controller repair