fixed iterator bug & variadic DebugLog