Make sure pi is going the right way