fix miss alerting bug