adjusted the intrusion detection