attempt to avoid 32/64bit crash