fix some bug
building Server