bug fixes

the size of message pool cannot be too small