fix extra params and typo
Merge pull request #37 from michaelfung/master

fix extra params and typo