fix registration ref