fixing error noted by james with growing textarea