fix http code