fix postgres collector