support freetext input