remove 0 from reduce