fix a launch bug