fixed dashboard bug