enable highlight and fix error