fix touchend bug