Fix typo in code
Merge pull request #2366 from yakky/feature/generic_fix

Fix typo in code