fix namespace bug
finish chapter 9