fix debug function

weird way strings and expansion works in ahk. This was useful:
http://www.autohotkey.com/board/topic/97097-faq-variables-dynamic-variables-literal-strings-and-stuff-like-that/