Fixed new line problem on mac simulator