fixes highlighting pain