fix mongoose model ref