Fixed erroneous debug output