refactor textareafield