updates to 32 bit compatibility