fixing textarea handling