Core/C#: Delete uneeded informations