fixed critical monitoring bug