fixed postgres placement