fix freshness, add inbd/outbd, err handle for multiple