fix diff decleration