fix use of nonexistent variable

refs #146