FIX bug of sale date permit