fixing reduce computed