fix \r\n bug for posts