fix response code