pg version fix