fix unmark bug