bug fixed

the original bug is fixed.

Optimizing needed…..