fixed parsing semantic error