fix old master process cleanup