updated for autofill textarea