improved debug output 2