fix run to use reduce not scan