fix build for component