adust templating to remote \r for ie