fix namespace handling without braces