fixed compatibility with CADE; compiles with 32-bit