Fixed bug with bad namespace reference