fix bugs when click effect button