fix text regression