fix options passing to mongoose