fix new line problem