fix DiffLogLogic