fix for deep highlighting