fix env copy task