Fix for pool creation