fixed 'fsm_gof_pure.cpp' to use singleton