fixed error in pasted code namespaces