removes duplicate namespace ref in Model