Fix bug in response