fixed compilation problem after the registered_class_options change