fixed bug in making delivery list