repair typo that breaks intent of code