prevent double launch on mach