attempted fix for 32bit