fixed choice element parsing bugs
checked parser output for test case1