fix return values from parse_options