fix ribbon class