port vi to 64-bit