fixed up mongoose config