Fixed pasting bug.