significantly improve debug output of lsr