make validate 32-bit compatible