remove unused struct members