fix parsing of response. (only split at first = )
fix same parsing error in 2 different places