Fixed typo

Changed reigster to register.