remove https for api calls