change imports for lib/pg