* fix termination issue