Most likely, the filling didn't get up to the proper temperature in order to set when chilled. Make sure the filling is stirred constantly and the bottom scraped with a rubber spatula while cooking so that it all reaches the goal temperature.