fix component permissions