mini5-2

the logical state different other, pay attention to the first "if" which control all the useless click