remove unused struct fields