fixed #7 and typo