process terminate added