fix creating registrations