deleting defaultExpirationPeriod if set to null