fix bug EtsFsm leak