fix OptionsPattern[] bug

Allow `OptionsPattern[]` construct.