Assuming that the cookies are baked properly and not over baked, this usually comes from using too much flour. Measure your flour by weight and you’ll get tender, soft centers every time.