fixed Postgres and other bugs or commented out code that was not working