fix for move file to an empty folder