Try using a separate uint64 function