IntelliJ: changing color of an unused variable doesn't work

Hello,

After a project import I saw that IntelliJ: changing color of an unused variable doesn’t work.
Normal should appear in red.
image
I use Cuba 7 plugin version.

I didn’t modify color scheme.
image

Please advise.

Solved.

Delete .idea, .haulmont.
Uninstall/Install Idea and Cuba plugin.
Import project as checking Cuba radio button.