don't set class value for deleted glyph
this causes Segmentation Fault