fixed division-related bug when variant copy #=0