fixed bad variable names