fixed monitoring bug