changed server thread