More undefined vars in closure