added missing option warningClass