fixed config to postgres