fixed 64 bit crash