fixed error in parse_options