Fix setting namespace