use pg.js instead of pg
fixed alias