Fixed error in response parsing