when option is object, change false to empty object before deep copy
Merge pull request #94 from lastobelus/fix_options_bug

when option is object, change false to empty object before deep copy