Small fix in parseResponse()