Correcting underlining