finish key cut, copy, paste function