offset to resetvars
offset changes