fixed copying didn't believe it was a dir