Fixed api controllers.