It will be runny if you don't bake it enough. This can be either because your oven is not reading the proper temperature or you didn't leave it in long enough. Make sure you bake it until the edges are set and the middle is slightly jiggly like jello.