check for empty vars.