fixed checking a bad variable name