Fixed TypeError when use '--default-options-off'

TypeError when using with --default-options-off option.

Please merge this little patch.