fix parsing of 'registration expiration date'