This reverts commit 9b5a48b8fd89fbeee45439dea2efbf40761130cf.
because I dont' understand why this commit is needed and  I cannot reproduce the bug.

Revert "viewclass: fixed error when specified 'option' and not specified 'default'"