fixed up small variable name inconsistency