[DF-1970] fix fmod callbacks