fix issue with delivery check