fix for short filenames