Before you transform attachment, you have to see it very clearly. Look deeply into the habit energy that is coming out of the alaya, your storehouse. If thoughts come and you believe them your awareness goes out the window.
https://www.youtube.com/watch?v=_YHVNS7vgGo