Fix bug with response parameter