fixed keyboard binding bug