Fixes legend example