fixed parser bug with comments