remove widgets removing code