fix required options