Fixing not save definition of classes and bg color to inherit