fixed touch event recognition