Fix mining piping.