fix typo in function
Merge branch 'hotfix/1.2.1'