fix `Dispatch` change of behavior in Mathematica 10