check vars.