Fix mixup between real and sample