Fixed #98, duplicate names in local and registered