fix_registration_bug_and_incorect_value