tuning error highlighting