fixed process termination