bugfix: check for textarea correctly