fix httpRequest