Fixing key K bug