API URLs fix