Mac OSX copy fix