fix dashboard bug