sh: fix typo function