1. update to multi-thread mode
1. Fix #44