destroy method

widget's destroy now doesn't work properly, this commit fix it