fixed a parser bug