fix widget delete