gen_fsm handle_all_state ok