handle raw block mode