fixed mod*longlong