fix diff

Calculating differences now works correctly again.