Fix array tasks creating in Tools.