trying to find error in parse