change namespace to scope