fixed the fact that i expected the api to be at a specific ip and port