fixes to pool size. gets rid of OFFLINE def