fix comments and some typos after running it thru psql