bug fix multiple line logs