fix PI