fix pg connections more