fixed bug in widget reload