Do you use `that` anywhere? It seems unnecessary ATM? If you *do* need it, make sure you define it very close to the first time you use it.