removing unused struct's variables