Resolve problem with parsing response