fixed touchend bug