trans block bug resolved in registration templates

renamed the variable names in templates.