Fix not displaying a slash after namespace.

fix #3969