fix debug request/response