fix main launcher