fix mongoose save bug