removes unnecessary mongoose code
fixes #7