fixed bug of touch