Fixed api config