fixed pg database