[PATCH RFC 09/15] component: fix bug with legacy API