fix the empty situation on dashboard