Fixes incorrect api URL