Fixing api url