replace kbd hook