fixing bugs from phase one moving on to namespace controller bug then phase two.