possible postgres fix