fixing a small bug in the text_langs