get better debug output