fix class_check behaviour