fixed poolname error when compiling