bug in getname