SquareBracketsInPath with namespace change