check and clean widgets