improve write form & enter key in string