Fix onClick bug that produces out of bound exeption