fix error in dashboard