fixed text area clearing bug