1. several bug fixed. 2. improve the performance.