fix key bind bug