fix blocktrans bugs (#131)