fixup registration template