var name change, check before insert