change type to text