fixed dbinit for postgres