improved debug output.