polish pipeIndex UI