fixed pbcopy/pbpaste issue