fixed bugs that _pool was not instantiated before returning