fixing pool.get method.