bugfix: handle the right mark