fixed some bugs and added new textarea