Fixed api url variable