Bug fixes in ext-sysmon