fixed component.js