fixed url that pointed to wrong endpoint