fix namespace bug and composer