fixed new line bug