Attempted repair of registration system

no major modifications, no change in lack of functionality