added changes for glint restore