Fix bug: resolving parent clazz name