fixed postgres