fixed underline problem for classes