mess_edit: bugfix