fix typo and rename var.
P23. add --server option.