fix flash binary bug