Fix the text type box parsing bug.