fix unknown error
Merge branch 'fixMongoidError'