mongo redirects work. data.replace is still plagueing