typo bug fix

Close #318