refactor to component-builder 0.12