Fix error about the required options.