remove useless widgets