handle bad_registration