remove printf in launchdetector