fixed NPE when using FQN