Fixed api controller