fix diff changes bug