* Fixed a bug which causes the multi-threading not to work