added some Mac copy-paste magick