fix PI size field calc so actions are correct