suggested solution to postgress problem