remove some debug code, fix textarea error bug