Fix setting namespace of application