fix Pool.cs bug when init