Fixed Main in Server.