Fix double paste issue.