fixed a typo
replace strip() with string.capwords()