fix the tagging interface in registry throwing an error