Fix register.