fixed issue where some ns prefixes contained two colons