Fixed type in registration