fix touch related issue