fixed killing processes