fix for failing http requests