fix copy to clipboard command