restore type to class