fixed error in dashboard