change sqlite to mongodb
rm tmp files