fix setting prevTag in oneToOne