removing the long type bug for 32bit machines