Tossing the fruit with flour before putting it in the pie shell coats it with the starch it will need to thicken the juices. Make sure the filling is good and bubbly before you take it out of the oven. The juices should be noticeably thick. If not, bake it longer. Of course, making sure your fruit is well drained before adding it will help as well.