fix isHighlighted property check