How can glass be prevented from corroding