fixed some issues in mongo session store