fix stop/start/restart/terminate