Fixed Pasting bug