Fix error inside automator when copy