fix controller.