fix namespace of ComponentFactory