fix typo compatibility