fix glass regression