implement editable cleaning, use it after paste