fix 0 <->1 mixup