fix a typo causing a bug