fix small parser bug