fixed option parser.