added fix postgres