fixed error when copy tables with blob columns