Attempted fix at failure to generate glass