Fix 64-bit modeg