fix delivery index