fix upload binary bug