backup to a file fix