changed UINT64 into UINT32 - part2

this version doesn't work