fixed UINT64 error handling