fixing FROM in mongo