Fixed small debug output bug