Fixed the pi problem. I feel so fucking dumb right now since it took me hours to fix