fix enable disable monitoring