doKeyCopy fix