Change OLD throw exception and add log
Fix ChangeKeys during writeData - The Keys wasn't changed in some case