problem solve in lr and debug message add to lr