fix bug in server.
fix bug in launcher class.