fix "clean" bug where full filenames aren't used