fix checktap control codes