fix dashboard error