Fixed lib path
Added pool ownership