2013.09.02--fixed the bottleneck of lua part