fix touch check