fixing mongoose