Fixed the object pool