fixed double-keys-down bug