set diff mode