fix regression for text