fix postgress