fix broken copy command