vars not getting set