[FIX] account : Fixed the global name 'cr' is not defined.