replace lf with cr after mplibcode