removing unneccasry line-breaks