fix error when hiding a highlight that was never shown