fixed NPE when proposing filenames.