some errors in decrypt - xml metadatas incorrect