Fix to response code headers