mongodb tranx
max msg
fix tmp filename