prevent error when collecting touch info