bug fixed
changed touches function