fixed issue with http request headers