This can be caused by baking them too long. You want to slightly underbake them so they have gooey centers! A toothpick inserted into the center should come out covered in a few moist crumbs.