date_registration fix