fix blob read bug for query module