catch highlighting errors

happens a lot especially on my stuff