fix delete env task