fix missing getName() method #1