set class first in text row