fixes convertStringToUint64 method