fix match crash bug, add effect_state