Fix error on dashboard