use updated `component/global` API