fixed the line wrap and highlight current line properties