Fixing a typo causing a bug