fix component macro