solving parse ambiguity