fixed "ArrayIndexOutOfBoundsException 3" when options are specified.
fixed "ArrayIndexOutOfBoundsException 3" when options are specified.
Merge pull request #12 from myui/hotfixes

Hotfixes - fixed "ArrayIndexOutOfBoundsException 3" when options are specified.