added a issue test case and added z=0 in parse