fix using dashes in class names