remove unnecessary class names