fix run server bug