import statement NPE fix