Fixed /pi to have and index.