fix component dirs