various typos and more fixes to postgres setup