fixing dashboard bug