fixed postgres settings