fix order of Registration variables.