fixed bug when using same widget twice on a dashboard.