fix issue with dashboard display (postgres only)