Move fpe_handler
Localize keybuffer