There is nothing to fix. There is only recognizing what you already are. There is only recognizing what already IS. There is no need to "cultivate" more gratitude or to practice a particular niayama to purify. Gratitude is already present. Just like loving-kindness, peace, and open-ness, gratitude is what we already are made of. We just misperceive that something is wrong and that we need to be better, fix ourselves, or do something different like have more gratitude to be happy.
In all our life's experiences there is one underlying commonality that moves through everyone, whether we are at the beginning or end of our life. The undercurrent of life is connection. It is the vital fluid that keeps all relationships, regardless of their depth or duration, salient and purposeful.