fix findOffer and isVolumnAllowed bug