fix copy sequence not working due to click event not fired