API for parallel slice
fix error for wpp