remove ununsed classes and values