figuring out error in parse