exclude useless entries from legend