fix issue with copy task