registration templates debug