Added exceptional situation when invalid value set to the ModuleOptions.