fix component validation errors