fix bug in signature while deleting mark