fix bug with write-mongo
Release 1.0.1