registration templates fixed