fix bam_record assignOp