fixed the comparison some name bugs