clean up registrations