fixed server thread