fixing a few bugs with inline-IDS mode