fix typo flags