fix adding multiple options.