fix paste event