fixed postgres manager