fix copy to emmc script