Fixed the \n escaping bug