fix spalling and move mongo stuff to depreciated