only add multiple class index for radio inputs