fix namespace and symbol creation