fix bug with equal setter