fix http requests