Delete unnecessary metadata variables