switch argument to key to be more precise
fix introducing typo
Merge pull request #3119 from cordoval/patch-17

switch argument to key to be more precise