fix KeyCodes