Undefined variables.

Updated some undefined variables.