Fixed stack faults with adding widgets on dashboard