fix breaking change when file.dest is not specified