fix pi