paste event trigger fix with setTimeout