Change default namespace based on current namespace