fixing monitoring error