fix response status code