fixed bug in pool monitor.
Merge branch 'test' into dev