restore class_name