fix component type