correcting touch bug