var sync protection