prevent glass damage