cleansing code, and typo