fixed a problem with --help option