fixed highlight check