Fixed reading var_set