fix delegate event issue on text box and text area