minor code revision
resolved cross initialization in trace_kill()