copy to clipboard fix v2

Signed-off-by: georgelynch <georgelynch1980@hotmail.com>