bugfix, and add doc for textarea