Fixing ctrl-d and K