support manifest_version 2
change linefeed code