remove = in reduce method