remove empty classes