optimize hidden classes, cleanup