fix the md5 compare bug