fixing typo and style