Fix typo

Just noticed a small typo, `k` instead of `key`.