BUG: pass collections through legend