fixed a bug that cannot fetch name/comment correctly in pmd2