remove \r from paste contents