fixes incorrect filenames