Fixed bug in response