remove duplicate backgrounds