fixed new line bugs