[#1] Fix stately_machine class var error