cleanup classes when backgrounds are synced