remove unnecessary codes in launcher