A design concept to avoid failure of structural glass beams in buildings