change content into text for variable length input