fixed parser bug