improved created error message in case of missmatching pool size
improved error reporting; fixed #8