fix highlight of resources