fixed typo from previous refactoring