fix for after-download-renaming issue