fix find in path NPE