Correct typo which caused a bug