fix run, running processes twice