update fix typo in mode flag