-removed unsupported clickIndex
-loop optimize
-removed SOP