remove inconsistent resource filenames