fix generate namespace
working on namespace problems