refactor: removed initComponent from ApiController
fix: tiny fix