trying to fix monitoring agent