update to V2
add onClick() func and disable DFS (contributed by GroundMelon@gmail.com)