fix copy button bug in ff