Fixed an issue with setting a namespace