Fixed postgres setup