fixed global launching bug