tostr bug in dbg