Fix side-effect of paste mapping