typecast uuid to avoid blank string inputs