You need to add cornstarch or tapioca starch to the filling. You also need to wait to slice the pie until it is completely cool. Otherwise, the starch may not have completed its task to thicken the filling.