fix a bug which can't launch server