corrected mongoose schema
more corrected mongoose schema