In classical inventory control problems, it is usually assumed that all of the items are of perfect quality, and the inspection process works perfectly well. However, in practice, the order lotsoften contain imperfect items, and the inspection process, is not necessarily error-free. In this article, we extendthe economic order quantity model under imperfect items where the inspection process involves type I and II errors. The type I error can lead to recognition of perfect items as defective, while the type II error can result in the delivery of imperfect items to customers. In the proposed inventory problem, the customers who receive and return imperfect items wait for replacement with perfect items as a batch at the end of a special inspection process. Besides, the imperfect quality items are sold out as discounted items. Our problem considers more than one sales per cycle for returned items from 2 market which causes a reduction for the inventory costs. We present two cases depending on the length of special inspection process. A numerical example is provided to compare two cases, and a sensitivity analysis is discussedto assess the effect of main parameters on the total profit.