fix bug in get_component_status