correct typo in get_dif