Fix pasting code