fix typo error

merge the changes from the original author