fixing postgress