missing vairable fix