fixed error in reducer