fix callback index correctly when touch