fixed error in parse