compare the byte array rather than the string.