modified of touch event handle