fix the buffer key binding