alleged fix for some of the postgresql problems