fix bug of abnormal paste on last word of line