fixed bug in pool monitor.