fix issue with postgres jdbc driver