fixes in registration