Fix stderr bug & delete old launch function