fixed use name() instead of qualifiedName()