Fixed bug to get qualified namespace.