Fixed reducer bug