Fix bug in ok custom response.