nevemind, I found the problem, I was deleting the string inside of the callback, I changed that so I don't do that anymore, thus why it only worked in debug mode, when not in debug mode a deleted variable become a random memory value, but they do not when in debug mode.