fixed custom http request issue