fix parser and textClass