fix a http response code