fix random method would exclude z piece