If you just pulled it out of the oven and the filling is still piping hot, that could be the first issue. The crisp filling sets up as it cools! The other issue could be that you didn't use enough cornstarch OR you used flour instead of cornstarch in the filling. If you only have flour on hand, you'll need to use more than the recipe calls for because cornstarch is a stronger thickening agent than flour.