Fixed a bug in launcher