cleanup code for 64-bit hosts